<?php
header("Content-type:text/html; charset=utf-8");
require_once ('config.php');
require_once (WEBURL.'/include/conn.php');
require_once (WEBURL.'/login_status_check.php');
require_once (WEBURL.'/channel.class.php');
if(!checkLogin()){
	   $gotopage=base64_encode("channel_show.php");
	header("Location:admin_login.php?gotopage=".$gotopage);
	
}else{
$channel=new Channel();
$child_channel_information=$channel->getChildChannelInformation();
$other_channel_id=json_encode(explode("|",$channel->getOtherChannelId()));

$smarty->assign("child_channel_information",$child_channel_information);
$smarty->assign("other_channel_id",$other_channel_id);

$smarty->assign("title","现有栏目");
$smarty->display("channel_show.htm",md5("channel_show.php"));
}